﻿using System;
namespace ElingOA6_DSJCJ.Model
{
	/// <summary>
	/// 权限用户对照表
	/// </summary>
	[Serializable]
	public partial class PrvUser
	{
		public PrvUser()
		{}
		#region Model
		private string _flogid;
		private string _fentityno;
		private string _fusername;
		private string _fpassword;
		private DateTime? _flastlogintime;
		private string _flastloginipaddr;
		private int _flogincnt;
		private int? _fprohibitlogin;
		private int? _fforeveravailable;
		private DateTime? _favailabledate;
		private string _femplno;
		private string _fssouid;
		private string _fisindexlogin="N";
		private string _fisjoin="Y";
		/// <summary>
		/// 用户编号
		/// </summary>
		public string FLogID
		{
			set{ _flogid=value;}
			get{return _flogid;}
		}
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set{ _fentityno=value;}
			get{return _fentityno;}
		}
		/// <summary>
		/// 用户名称
		/// </summary>
		public string FUserName
		{
			set{ _fusername=value;}
			get{return _fusername;}
		}
		/// <summary>
		/// 密码
///算法：md5(Flogid + 用户输入的密码)
		/// </summary>
		public string Fpassword
		{
			set{ _fpassword=value;}
			get{return _fpassword;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FLastLoginTime
		{
			set{ _flastlogintime=value;}
			get{return _flastlogintime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FLastLoginIPAddr
		{
			set{ _flastloginipaddr=value;}
			get{return _flastloginipaddr;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int FLoginCnt
		{
			set{ _flogincnt=value;}
			get{return _flogincnt;}
		}
		/// <summary>
		/// 1 禁止登录
///0 允许登录
		/// </summary>
		public int? FProhibitLogin
		{
			set{ _fprohibitlogin=value;}
			get{return _fprohibitlogin;}
		}
		/// <summary>
		/// 1 永久有效，有效日期必须是NULL
///0 不是永久有效  ，必须填写有效日期
		/// </summary>
		public int? FForeverAvailable
		{
			set{ _fforeveravailable=value;}
			get{return _fforeveravailable;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FAvailableDate
		{
			set{ _favailabledate=value;}
			get{return _favailabledate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FEmplNo
		{
			set{ _femplno=value;}
			get{return _femplno;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FSSOUid
		{
			set{ _fssouid=value;}
			get{return _fssouid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FIsIndexLogin
		{
			set{ _fisindexlogin=value;}
			get{return _fisindexlogin;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FIsJoin
		{
			set{ _fisjoin=value;}
			get{return _fisjoin;}
		}
		#endregion Model

        /// <summary>
        /// 用户编号加密
        /// </summary>
        public string FLogIDEn
        {
            set;
            get;
        }
        public string FEmpName { get; set; }
        public string FDeptNo { get; set; }

        /// <summary>
        /// 领导批示
        /// </summary>
        public string FIsInstruct
        {
            get;
            set;
        }
	}
}

